package com.eedi.framework.dict.dal.dataobject;

import com.baomidou.mybatisplus.annotation.*;
import com.eedi.framework.common.enums.CommonStatusEnum;
import com.eedi.framework.mybatis.core.dataobject.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 字典数据表
 *
 */
@TableName("sys_dict_data")
@Data
@EqualsAndHashCode(callSuper = true)
public class SysDictDataDO extends BaseDO {

    /**
     * 字典数据编号
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String sysDictDataId;
    /**
     * 字典排序
     */
    private Integer sysDictDataSort;
    /**
     * 字典标签
     */
    private String sysDictLabel;
    /**
     * 字典值
     */
    private String sysDictValue;
    /**
     * 字典类型
     *
     * 冗余 {@link SysDictDataDO#getSysDictType()} ()}
     */
    private String sysDictType;
    /**
     * 状态
     *
     * 枚举 {@link CommonStatusEnum}
     */
    private CommonStatusEnum sysDictDataStatus;
    /**
     * 颜色类型
     *
     * 对应到 element-ui 为 default、primary、success、info、warning、danger
     */
    private String sysDictDataColorType;
    /**
     * css 样式
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sysDictDataCssClass;
    /**
     * 备注
     */
    private String sysDictDataRemark;

}
